﻿@*@model PilotProject.TestToken*@

@model PilotMVC.Models.TestTokenView           

           
@{ 
    Layout = "~/Views/Shared/_ExaminerLayout.cshtml";
}
<script src="../../Scripts/dobdatePicker.js" type="text/javascript"></script>
<link href="../../Content/items1/forms.css" rel="stylesheet" type="text/css" />

@{
    Html.EnableClientValidation(true);
}

 @using (@Html.BeginForm("ValidateToken", "ActivateTestToken"))
 {
    <span style="color:Red">@Html.ValidationSummary()</span>
      @Html.HiddenFor(model => model.TestTokenId)
   @*   @Html.HiddenFor(model => model.Candidate)*@
      @Html.HiddenFor(model => model.CandidateId)

      

    <div id="form" class="myform" >

       <fieldset> 
        <legend>Edit Candidate's Details</legend>
       
        <div id="parsonalDetails" style="height:365px;" >



             <label>First Name<span class="small">Add your first name</span></label>            
                <div id="firstname"> <p>
                    @Html.EditorFor(model => model.FirstName)</p>
                </div>
            

            <label>Last Name<span class="small">Add your last name name</span></label>
               <div id="lastname"> <p>
                    @Html.EditorFor(model => model.LastName)</p>
                  </div>
          

            <label>ARN<span class="small">Add ARN</span></label>
               <div id="arn"> <p>
                    @Html.EditorFor(model => model.ARN)
                 </p></div>
            

            <label>JPA<span class="small">Add JPA</span></label>
                <div id="jpa"> <p>
                    @Html.EditorFor(model => model.JPA)
                </p></div>
            
@*          @Html.Hidden("DateOfBirth")
          <label>DOB<span class="small">Add DOB</span></label>
            *@

            @*<input type="text" id="DOB" name="DOB"/>*@
                                   
            
          <label>DOB<span class="small">Add DOB</span></label>
    <div id="dob"><p>@Html.EditorFor(model => model.DateOfBirth) </p></div>  


            <label>Telephone<span class="small">Add Telephone</span></label>
            <div id="telephone"><p>
                    @Html.EditorFor(model => model.Telephone)
                </p> </div>
           

           <label>Mobile<span class="small">Add Mobile Number</span></label>
            <div id="mobile"> <p>
                    @Html.EditorFor(model => model.Mobile)
                </p></div>
            

           <label>Email<span class="small">Add a valid email</span></label>                        
            <div id="email"><p>
                    @Html.EditorFor(model => model.Email)
                </p></div>
              </div>          
                        
       
        <div style="float:right">@Html.EditorFor(model => model.Address)</div>

@*
       <div id ="login" >
             <label>Username<span class="small">Add Username</span></label>                        
            <div id="username"><p>
                    @Html.EditorFor(model => model.Username)
                </p></div>
            

             <label>Password<span class="small">Create password</span></label>                        
            <div id="password"><p>
                    @Html.EditorFor(model => model.Password)
                </p> </div>
       </div>  *@
               <div style="margin:left;width:600px;">
               <h3 style="color:Blue;float:left;">By pressing the button below you save the details and start the test </h3>
               </div>


            <div id="btn"><p class="b"><input type="submit" value="Start Test"  class="saveBut" /></p>      </div>

    </fieldset>  
 </div>
@*    <div>
        <a href = "@Url.Action("Load", "Quiz", new { id = Model.Id })"><button id="submit" style="margin-left:420px;margin-top:5px;"> Start Test </button></a>
     </div>*@
 }


